-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
treewide/nixos: remove with lib;
part 4
#335631
treewide/nixos: remove with lib;
part 4
#335631
Conversation
816d6d5
to
1a98258
Compare
88d6199
to
457ffd9
Compare
457ffd9
to
8b90114
Compare
697ceeb
to
ca0690b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few things, but overall looking good.
27803cd
to
e14383d
Compare
e14383d
to
aaf69cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whew
@Stunkymonkey -- unlike part 3, I did review this. |
@philiptaron thanks for reviewing. sorry I was ill for a few days. I still have to improve the commit messages for all commits. should i split the bigger commits into separate PRs? |
aaf69cb
to
eedf5fe
Compare
c40ebb5
to
f1dfc8d
Compare
I rebased the pull request since it has been open for quite a while. |
Re-basing found one bug. |
This fixes a regression that was introduced in #335631
@Mic92 @Stunkymonkey was the same broken script used as in the PRs before? |
I don't know what script was used here. |
It looks like the change to nixos/modules/services/networking/cloudflared.nix:276 is wrong. It was changed to lib.filterConfig, but filterConfig is defined on line 268 and is probably what was intended to be used. There are several other changes to lib.filterConfig in that file as well. Error when evaluating:
|
I diffed the diff with actual lib functions:
|
Looks like those are wrong:
was already fixed. |
Looks like they got and only #342370 is pending. |
This is how I computed the diff to prevent this issue in future:
|
Description of changes
part of #208242
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.